From: Tanner Doshier Date: Sat, 16 Mar 2013 21:34:58 +0000 (-0500) Subject: dateMenu: Don't override accessible_role inherited from PanelMenu.Button X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~4240 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=c29810b2f61238e9cbcd7fdb45d994520a3fedad;p=gnome-shell.git dateMenu: Don't override accessible_role inherited from PanelMenu.Button The menu is keyboard navigable now, so allow it to be advertised as such. https://bugzilla.gnome.org/show_bug.cgi?id=667434 --- diff --git a/js/ui/dateMenu.js b/js/ui/dateMenu.js index fa550be31..c3a8dcf63 100644 --- a/js/ui/dateMenu.js +++ b/js/ui/dateMenu.js @@ -49,11 +49,6 @@ const DateMenuButton = new Lang.Class({ menuAlignment = 1.0 - menuAlignment; this.parent(menuAlignment); - // At this moment calendar menu is not keyboard navigable at - // all (so not accessible), so it doesn't make sense to set as - // role ATK_ROLE_MENU like other elements of the panel. - this.actor.accessible_role = Atk.Role.LABEL; - this._clockDisplay = new St.Label(); this.actor.add_actor(this._clockDisplay);